#!/usr/bin/env python
# -*- coding:utf-8 -*-

# file:do_exam1.py
# author:王雯雯
# datetime:2024-11-12 
# software: PyCharm

class Sc:
    def __init__(self, sno, cno, score):
        self.sno = sno
        self.cno = cno
        self.score = score

    def __str__(self):
        return f"学号: {self.sno}, 课程编号: {self.cno}, 成绩: {self.score}"
